package com.stu.day11.factory3.f1;

import com.stu.day11.factory3.*;

/**
 * 经济车工厂
 * @author zy
 * @date 2025/2/3 21:53
 */
public class EconomyCarFactory implements CarFactory {
    @Override
    public CarBody createCarBody() {
        return new EconomyCarBody();
    }

    @Override
    public Seat createSeat() {
        return new EconomySeat();
    }

    @Override
    public Wheel createWheel() {
        return new EconomyWheel();
    }
}
